package com.puti.doctor.domian;

import java.math.BigDecimal;
import java.util.Date;

import com.puti.common.core.annotation.Excel;
import com.puti.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 商品-信息 商品-信息对象 goods_info
 */
public class GoodsInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品ID */
    private Long goodsId;

    /** 商品编码 */
    @Excel(name = "商品编码")
    private String goodsCode;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String goodsImg;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal goodsPrice;

    /** 商品购买数量 */
    @Excel(name = "商品购买数量")
    private Long goodsCount;

    /** 商品库存 */
    @Excel(name = "商品库存")
    private Long goodsStock;

    /** 商品状态 0：未上架
1：已上架 */
    @Excel(name = "商品状态 0：未上架 1：已上架")
    private Long goodsStatus;

    /** 商品类型 */
    @Excel(name = "商品类型")
    private Long goodsTypeid;

    /** 商品详情 */
    @Excel(name = "商品详情")
    private String goodsDetails;

    /** 售后服务 */
    @Excel(name = "售后服务")
    private String goodsService;

    @Excel(name = "时间")
    private Date goodsTypeTime;

    @Excel(name = "类型名字")
    private String goodsTypeName;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public BigDecimal getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(BigDecimal goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public Long getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(Long goodsCount) {
        this.goodsCount = goodsCount;
    }

    public Long getGoodsStock() {
        return goodsStock;
    }

    public void setGoodsStock(Long goodsStock) {
        this.goodsStock = goodsStock;
    }

    public Long getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(Long goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    public Long getGoodsTypeid() {
        return goodsTypeid;
    }

    public void setGoodsTypeid(Long goodsTypeid) {
        this.goodsTypeid = goodsTypeid;
    }

    public String getGoodsDetails() {
        return goodsDetails;
    }

    public void setGoodsDetails(String goodsDetails) {
        this.goodsDetails = goodsDetails;
    }

    public String getGoodsService() {
        return goodsService;
    }

    public void setGoodsService(String goodsService) {
        this.goodsService = goodsService;
    }

    public Date getGoodsTypeTime() {
        return goodsTypeTime;
    }

    public void setGoodsTypeTime(Date goodsTypeTime) {
        this.goodsTypeTime = goodsTypeTime;
    }

    public String getGoodsTypeName() {
        return goodsTypeName;
    }

    public void setGoodsTypeName(String goodsTypeName) {
        this.goodsTypeName = goodsTypeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsId", getGoodsId())
            .append("goodsCode", getGoodsCode())
            .append("goodsName", getGoodsName())
            .append("goodsImg", getGoodsImg())
            .append("goodsPrice", getGoodsPrice())
            .append("goodsCount", getGoodsCount())
            .append("goodsStock", getGoodsStock())
            .append("goodsStatus", getGoodsStatus())
            .append("goodsTypeid", getGoodsTypeid())
            .append("goodsDetails", getGoodsDetails())
                .append("goodsTypeTime", getGoodsTypeTime())
                .append("getGoodsTypeName", getGoodsTypeName())
            .append("goodsService", getGoodsService())
            .toString();
    }
}
